<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="border: 5px red dashed ;">
        一切皆盒子
        <p>这是段落一</p>
        <p>这是段落二</p>
        网页就是由盒子摆出来的
    </div>
    <style>
       
        p{
            border: 4px green solid;
            background-color: blue;
            padding: 10px;
            margin: 20px;
        }
       div{
        height: 200px;
        width: 200px;
       }
    </style>
</body>
</html>